﻿@model CmsAdminPageModel

@{
    Layout = "~/admin/Views/CmsPage/PageEditBase.cshtml";
    ResFile = "cms_Pages";
    ViewBag.Title = _("View {0}", Model.PageName);
}

@section DescriptionBlock
{
<p><a class="b-back-link" href="@Url.Action("pagehistory", "cmspage", new { id = Model.LatestPageId })"><i class="b-icon"></i> @_("Back to page history")</a></p>

<h1>@_("View {0}", Model.PageName)</h1>
}

@section ButtonsBlock
{
<div class="b-form  b-form_bordered b-form_layout_separated b-form_theme_green">
    <div class="b-form__head">
    </div>
    <div class="b-form__body">
        <div class="b-form__content">
            <ol class="b-form__rows ul-reset g-clear">
                <li class="b-form__row g-clear">
                    <input class="b-button b-button_small" type="submit" value="@_("Revert to this revision")" name="MakeNewRevision" id="MakeNewRevision"/>
                </li>
            </ol>
        </div>
    </div>
</div>
}
